# 兼容性补丁：解决Python 3.10+中collections.Callable移除的问题
import collections
import collections.abc

# 将abc模块中的Callable添加到collections模块中
if not hasattr(collections, 'Callable'):
    collections.Callable = collections.abc.Callable

# 其他可能需要的兼容性修复
if not hasattr(collections, 'Iterable'):
    collections.Iterable = collections.abc.Iterable

if not hasattr(collections, 'Sequence'):
    collections.Sequence = collections.abc.Sequence